#include <stdio.h>
#include <unistd.h>
#include <string.h>

int main()
{
	void *p = sbrk(4);
	int *p1 = p;
 	*p1 = 100 ;
	double *p2 = sbrk(8);
	*p2 = 3.14;
	void *cur = sbrk(0);
	printf("p1 = %p , p2 = %p , cur = %p\n",p1,p2,cur);
	printf("p1 = %d , p2 = %lf\n",*p1,*p2);
}
